@charset "utf-8";
/* CSS Document */
/* 重置样式表 */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

html, body {
    height: 100%;
}

/* 导航栏位于页面底部 */
#main-navbar {
    position: absolute;
    bottom: 0px;
}

/* 主体内容里面有三个标签页，采用显示一个，隐藏两个 */
#content {
    height: 100%;
}

#content li {
    width: 100%;
    height: 94%;
    text-align: center;
    list-style: none;
}

/*设置主体第一个li中的二维码图片的位置*/
#content li:nth-child(1) img {
    margin-top: 8%;
}

/*设置会员页面主体样式*/
#member-merchant-content {
    width: 100%;
    height: 100%;
}

#user-info {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 4%;
    padding: 20px;
    border: 1px solid #CCC;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#user-info div:nth-child(2) {
    text-align: left;
}

#user-info div:nth-child(2) p:nth-child(1) {
    margin-top: 10%;
}

#user-info div:nth-child(2) p:nth-child(2) {
    margin-top: 15%;
}

#user-extra-info {
    border: 1px solid #CCC;
    border-top: none;
    margin-left: 20px;
    margin-right: 20px;

}

#user-extra-info div {
    line-height: 40px;
}

#user-extra-info div:nth-child(1) {
    border-right: 1px solid #CCC;
}

#user-control {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

#user-control div:nth-child(1) {
    margin-top: 20%;
    width: 100%;
}

#user-control div:nth-child(2) {
    margin-top: 20px;
    width: 100%;
}
